Skip to content

Conversation

jimblandy
Copy link
Member

Consolidate the explanation of why and how we wrap Naga global variables in structs to satisfy Vulkan's requirements, and include it in the documentation for back::spv::GlobalVariable.

Clarify GlobalVariable's members documentation.

@jimblandy jimblandy added area: documentation Documentation for crate items, public or private area: naga back-end Outputs of naga shader conversion naga Shader Translator lang: SPIR-V Vulkan's Shading Language labels Sep 28, 2024
@jimblandy jimblandy requested a review from a team September 28, 2024 00:13
@jimblandy jimblandy force-pushed the naga-spv-out-doc-GlobalVariable branch from e5a4a5f to 9364cbe Compare October 1, 2024 20:33
Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some non-blocking nits.

Consolidate the explanation of why and how we wrap Naga global
variables in structs to satisfy Vulkan's requirements, and include it
in the documentation for `back::spv::GlobalVariable`.

Clarify `GlobalVariable`'s members documentation.
@jimblandy jimblandy force-pushed the naga-spv-out-doc-GlobalVariable branch from 9364cbe to 150ad8d Compare October 3, 2024 17:02
@jimblandy jimblandy enabled auto-merge (rebase) October 3, 2024 17:02
@jimblandy jimblandy merged commit d3e09dd into gfx-rs:trunk Oct 3, 2024
27 checks passed
@jimblandy jimblandy deleted the naga-spv-out-doc-GlobalVariable branch October 4, 2024 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation Documentation for crate items, public or private area: naga back-end Outputs of naga shader conversion lang: SPIR-V Vulkan's Shading Language naga Shader Translator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants